package com.sakura.flowers.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sakura.flowers.entity.Card;
import com.sakura.flowers.service.CardService;
import com.sakura.flowers.mapper.CardMapper;
import org.springframework.stereotype.Service;

/**
* @author Sakura
* @description 针对表【card】的数据库操作Service实现
* @createDate 2024-02-18 21:39:53
*/
@Service
public class CardServiceImpl extends ServiceImpl<CardMapper, Card>
    implements CardService{

    @Override
    public Page<Card> queryByPage(Integer pageNo, Integer pageSize, String searchKey) {
        Page<Card> cardPage = this.page(new Page<>(pageNo, pageSize));
        return cardPage;
    }
}




